<%-- 
    Document   : administrarFisioterapeutas
    Created on : Nov 19, 2010, 10:52:48 AM
    Author     : Alith
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Coordinador</title>
        <link rel="stylesheet" type="text/css" href="/fisiosoftJDV/faces/jsfcrud.css" />
    </head>
    <body>
       <body style="background-color:#FFFFFF ">
           <center><h2>Fisioterapeutas a cargo de <c:out value="${model.yo.nombre}"/> <c:out value="${model.yo.apellido}"/></h2></center>
        <br>
        <table align="center" width="95%" bgcolor="dfecf1" border="1" cellspacing="0" cellpadding="5">
            <tr>
                <td><b>Nombre</b></td>
                <td><b>Apellido</b></td>
                <td><b>Cedula</b></td>
                <td><b>Fecha de Nacimiento</b></td>
                <td><b>Edad</b></td>
                <td><b>Telefono</b></td>
                <td><b>Direccion</b></td>
                <td><b>Sexo</b></td>
                <td><b>Accion</b></td>
            </tr>
            <c:forEach items="${model.mios}" var="fisio">
                <tr>
                    <td><c:out value="${fisio.nombre}"/></td>
                    <td><c:out value="${fisio.apellido}"/></td>
                    <td><c:out value="${fisio.cedula}"/></td>
                    <td><c:out value="${fisio.fechaNacimiento}"/></td>
                    <td><c:out value="${fisio.edad}"/></td>
                    <td><c:out value="${fisio.telefono}"/></td>
                    <td><c:out value="${fisio.direccion}"/></td>
                    <td><c:out value="${fisio.sexo}"/></td>
                    <td><a href ="/fisiosoftJDV/coordinadorCD.htm?id=<c:out value="${fisio.idFisioterapeuta}"/>&id_co=<c:out value="${model.yo.idFisioterapeuta}"/>">Eliminar</a></td>
                </tr>
            </c:forEach>
        </table>
        <br>
        <center><h2>Fisioterapeutas disponibles <c:out value="${model.yo.nombre}"/> <c:out value="${model.yo.apellido}"/></h2></center>
        <br>
        <table align="center" width="95%" bgcolor="f8f8ff" border="1" cellspacing="0" cellpadding="5">
            <tr>
                <td><b>Nombre</b></td>
                <td><b>Apellido</b></td>
                <td><b>Cedula</b></td>
                <td><b>Fecha de Nacimiento</b></td>
                <td><b>Edad</b></td>
                <td><b>Telefono</b></td>
                <td><b>Direccion</b></td>
                <td><b>Sexo</b></td>
                <td><b>Accion</b></td>
            </tr>
            <c:forEach items="${model.posibles}" var="fisio">
                <tr>
                    <td><c:out value="${fisio.nombre}"/></td>
                    <td><c:out value="${fisio.apellido}"/></td>
                    <td><c:out value="${fisio.cedula}"/></td>
                    <td><c:out value="${fisio.fechaNacimiento}"/></td>
                    <td><c:out value="${fisio.edad}"/></td>
                    <td><c:out value="${fisio.telefono}"/></td>
                    <td><c:out value="${fisio.direccion}"/></td>
                    <td><c:out value="${fisio.sexo}"/></td>
                    <td><a href ="/fisiosoftJDV/coordinadorCD.htm?id_mio=<c:out value="${model.yo.idFisioterapeuta}"/>&id_el=<c:out value="${fisio.idFisioterapeuta}"/>">Coordinar</a></td>
                </tr>
            </c:forEach>
        </table>

    </body>
</html>
